class RankAccount {
  String? userId;
  String? nickname;
  String? avatar;
  String? avatarMapPath;
  int? gender;
  int? age;
  String? country;
  String? status;
  int? callCoins;
  String? unit;
  int? followNum;
  bool? isFriend;
  bool? isMultiple;
  String? about;

  RankAccount(
      {this.userId,
      this.nickname,
      this.avatar,
      this.avatarMapPath,
      this.gender,
      this.age,
      this.country,
      this.status,
      this.callCoins,
      this.unit,
      this.followNum,
      this.isFriend,
      this.isMultiple,
      this.about});

  RankAccount.fromJson(Map<String, dynamic> json) {
    userId = json['userId'];
    nickname = json['nickname'];
    avatar = json['avatar'];
    avatarMapPath = json['avatarMapPath'];
    gender = json['gender'];
    age = json['age'];
    country = json['country'];
    status = json['status'];
    callCoins = json['callCoins'];
    unit = json['unit'];

    followNum = json['followNum'];
    isFriend = json['isFriend'];
    isMultiple = json['isMultiple'];
    about = json['about'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['userId'] = userId;
    data['nickname'] = nickname;
    data['avatar'] = avatar;
    data['avatarMapPath'] = avatarMapPath;
    data['gender'] = gender;
    data['age'] = age;
    data['country'] = country;
    data['status'] = status;
    data['callCoins'] = callCoins;
    data['unit'] = unit;
    data['followNum'] = followNum;
    data['isFriend'] = isFriend;
    data['isMultiple'] = isMultiple;
    data['about'] = about;
    return data;
  }
}
